package jym.tan.tmdb.bean;

import java.io.Serializable;

import com.google.gson.annotations.SerializedName;

/**
 * The Class AlternativeTitle.
 * <p>
 * 	The properties are:
 * 	<ul>
 * 		<li>iso_3166_1</li>
 * 		<li>title</li>
 * 	</ul>
 * </p>	
 * @author Tanmoy
 */
public class AlternativeTitle extends Base implements Serializable {

	private static final long serialVersionUID = -721496037308662502L;
	
	@SerializedName("title")
	private String title;

	/**
	 * Default Constructor.
	 */
	public AlternativeTitle() {

	}

	/**
	 * Gets the title.
	 *
	 * @return 
	 * 		The title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * Sets the title.
	 *
	 * @param title
	 * 		The new title
	 */
	public void setTitle(String title) {
		this.title = title;
	}	
	
	/* (non-Javadoc)
	 * @see jym.tan.tmdb.bean.BaseBean#toString()
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("{").
			append("iso_3166_1:").append("\"").append(iso_3166_1).append("\"").
			append(",").
			append("title:").append("\"").append(title).append("\"").
			append("}");
		return builder.toString();
	}
}
